package xcmg.device.dao.mapper.wechat.xgwj;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.wechat.xgwj.WechatRelatedAttachment;

/**
 * @author wangyong
 */
@Mapper
public interface WechatRelatedAttachmentMapper {

  WechatRelatedAttachment getById(@Param("id") String id);

  List<WechatRelatedAttachment> listByType(Short fileType);

  Integer deleteById(@Param("id") String id);

  Integer insert(WechatRelatedAttachment attachment);
}
